import java.util.Arrays;
/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 张宇田
 * Date: 2025-03-13
 * Time: 17:22
 */

public class Test {
    public static void main(String[] args) {
        int[] arr = {6,1,2,5,4,3,9,7,10,8}  ;
        int[] aee = Arrays.copyOf(arr,arr.length);
        Sort sort = new Sort();
        sort.quickSort(arr);
        System.out.println(Arrays.toString(arr));
        sort.insertSort(aee);
        System.out.println(Arrays.toString(aee));
    }







    public static void main1(String[] args) {
        int[] arr = {9,8,4,6,1,4};


        Sort st = new Sort();
        st.insertSort(arr);
        for (int x : arr){
            System.out.println(x);
        }

        }
}
